package br.ufrj.dcc.comp2.musica.modelo;

import java.io.Serializable;
import java.util.Comparator;

public class ComparadorSolicitacaoMaisCedo implements Comparator<SolicitacaoInscricao>, Serializable {
	
	private static final long serialVersionUID = 1L;
	
	public int compare(SolicitacaoInscricao o1, SolicitacaoInscricao o2) {
		return o1.getTimeStamp().compareTo(o2.getTimeStamp());
	}
}
